package com.healthcloud.service;

import com.healthcloud.entity.Condition;
import com.healthcloud.entity.LargeArea;
import com.healthcloud.utils.Pagine;

import java.util.List;

/**
 * @author houxianghua
 * @since: 2015-07-08
 */
public interface LargeAreaService {

	LargeArea get(String largeAreaCode);

	LargeArea getByLargeAreaName(String largeAreaName);

	List<LargeArea> findByEntity(LargeArea entity, Pagine<LargeArea> pagine);

	List<LargeArea> findByEntityAll(LargeArea entity);

	List<LargeArea> criteriaSearch(List<Condition<Object>> conditions, Pagine<LargeArea> pagine);

	int save(LargeArea entity);

	int update(LargeArea entity, String largeAreaCodeOld);

	int delete(String largeAreaCode);

	int deletes(String[] largeAreaCodes);
}
